/* 基本重置 */
body, ul, li {
    margin: 0;
    padding: 0;
}


/* 导航栏样式 */
.navbar {
    background-color: lightblue;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%; /*覆盖整个宽度 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 添加阴影以显示覆盖 */
    position: fixed; /* 固定在顶部 */
    top: 0;
    left: 0;
    z-index: 1000; /* 确保导航栏在最上层 */
    border-bottom: 1px solid #ccc; /* 底部边框 */
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
}

.menu-item {
    padding: 10px 15px;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.2); /* 透明方框 */
    border-radius: 5px;
    transition: background-color 0.3s;
    text-decoration: none; /* 去除下划线 */
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.5); /* 鼠标停留时的反馈 */
}

.system-name {
    font-size: 20px;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
    margin-left: 20px;
    border: 2px solid #fff; /* 头像边框 */
}

.username {
    margin-right: 20px;
}

.button {
    margin-right: 40px;
    background-color: #f8f8f8;
    border: 1px solid #ddd; /* 按钮边框 */
    padding: 5px 10px;
    cursor: pointer;
}

/* 主内容区域样式 */
.main-content {
    padding: 10px;
    padding-top: 80px; /* 与导航栏高度一致 */
}